module.exports = {
    productionSourceMap: false,
    configureWebpack: {
        devServer: {
            port: 8080, // 端口号
            host: 'localhost',
            https: false, // https:{type:Boolean}
            open: false, //配置自动启动浏览器
            proxy: { // 设置代理
                '/': {
                    target: 'http://localhost:3000',    
                    changeOrigin: true,
                }
            }
        }
    }
}